<?php 
include("includes/code_admin.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title><?php echo SITEURL; ?> Administrator</title>
<link href="style_admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="script.js"></script>

</head>

<body>
<div id="container">
<table class="main" cellspacing="0" cellpadding="0">
  <tr>
    <td class="header">
    <!-- header start -->
    <?php include("includes/header.php");?>
    <!-- header finish -->
    </td>
  </tr>
  <tr>
    <td class="middle">&nbsp;</td>
  </tr>
  <tr>
    <td>
    <!-- tepa start -->
<?php include("includes/tepa.php"); ?>
    <!-- tepa finish -->
    </td>
  </tr>
  <tr>
    <td>
    <!-- contant start -->
<table class="content" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td class="left_col">
    <!-- left start -->
<?php include("includes/left.php"); ?>
    <!-- left finish -->
    </td>
    <td>
    <!-- right col -->
<div class="right_col">
<h3 class="title">Bosh sahifadagi tovarlar</h3>
<?php 
// Belgilagan tovarni delete qilish
if($_POST['submit'])
{	
delete();
}
?>

<form action="" method="post" onSubmit="return show_del_query()">

<div style="margin:10px;"><input type="submit" name="submit" value="Belgilaganni O'chirish" /></div>  
<table class="jadval">
<?php 
// funksiya code_admin.php sahifasida
tovar("main");
?>
</table>
</form>
    
</div>
	<!-- right col finish -->
    </td>
  </tr>
</table>


    <!-- contant finish -->
    </td>
  </tr>
</table>
<!-- futer start -->
<?php include("includes/futer.php"); ?>
<!-- futer finish -->
</div>
</body>
</html>
